Notice (8) : Undefined index: Institute [APP/Controller/InstitutesController.php , line 151 ]Code Context // debug($id);exit;
$institute = $this -> Institute -> findBySlug ( $id );
$id = $institute [ 'Institute' ][ 'id' ];
$id = 'wave-institute'
$title_for_layout = 'Institutes'
$title_for_section = 'Institutes'
$institute = array() InstitutesController::index() - APP/Controller/InstitutesController.php, line 151
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 486
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 92 Notice (8) : Undefined index: Institute [APP/Controller/InstitutesController.php , line 154 ]Code Context }
$slug = $institute [ 'Institute' ][ 'id' ];
$id = null
$title_for_layout = 'Institutes'
$title_for_section = 'Institutes'
$institute = array() InstitutesController::index() - APP/Controller/InstitutesController.php, line 154
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 486
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 92
Errors : Smart Tayari
Error 404 - Page Not Found
The request URL is not found on the server.
Stack Trace
[internal function] → InstitutesController->index(string)
CORE/Cake/Controller/Controller.php line 486 → ReflectionMethod->invokeArgs(InstitutesController, array) 'action' => $request -> params [ 'action' ]
));
}
return $method -> invokeArgs ( $this , $request -> params [ 'pass' ]);
object(InstitutesController) {
table_name => 'institutes'
viewClass => 'Theme'
theme => null
paginate => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
usePaginationCache => true
components => array(
[maximum depth reached]
)
name => 'Institutes'
uses => array(
[maximum depth reached]
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Institutes'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Institute'
modelKey => 'institute'
validationErrors => null
Session => object(SessionComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Email => object(EmailComponent) {}
Cookie => object(CookieComponent) {}
Auth => object(AuthComponent) {}
Institute => object(Institute) {}
Stat => object(Stat) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
array(
(int) 0 => 'wave-institute'
)
CORE/Cake/Routing/Dispatcher.php line 187 → Controller->invokeAction(CakeRequest) $controller -> startupProcess ();
$render = true ;
$result = $controller -> invokeAction ( $request );
if ( $result instanceof CakeResponse ) {
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'institute/wave-institute'
base => ''
webroot => '/'
here => '/institute/wave-institute'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
CORE/Cake/Routing/Dispatcher.php line 162 → Dispatcher->_invoke(InstitutesController, CakeRequest, CakeResponse) ));
}
$response = $this -> _invoke ( $controller , $request , $response );
if (isset( $request -> params [ 'return' ])) {
object(InstitutesController) {
table_name => 'institutes'
viewClass => 'Theme'
theme => null
paginate => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
usePaginationCache => true
components => array(
[maximum depth reached]
)
name => 'Institutes'
uses => array(
[maximum depth reached]
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Institutes'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Institute'
modelKey => 'institute'
validationErrors => null
Session => object(SessionComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Email => object(EmailComponent) {}
Cookie => object(CookieComponent) {}
Auth => object(AuthComponent) {}
Institute => object(Institute) {}
Stat => object(Stat) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'institute/wave-institute'
base => ''
webroot => '/'
here => '/institute/wave-institute'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}
APP/webroot/index.php line 92 → Dispatcher->dispatch(CakeRequest, CakeResponse) App :: uses ( 'Dispatcher' , 'Routing' );
$Dispatcher = new Dispatcher ();
$Dispatcher -> dispatch (new CakeRequest (), new CakeResponse (array( 'charset' => Configure :: read ( 'App.encoding' ))));
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'institute/wave-institute'
base => ''
webroot => '/'
here => '/institute/wave-institute'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}